<div class="login " ng-controller="LoginCtrl">
   <div class="logo-left">
     <img src="img/logo/logo.png" class="Imglogo" alt=""/>
     <span style="font-size: 22px;vertical-align: middle;color: #4B5960;">中国铁路哈尔滨局6C数据综合分析系统</span>
   </div>
   <div class="loginForm">
       <form action="" class="form-horizontal" role="form" ng-submit="LoginTrans()">
           <div class="LoginSystem">登录系统</div>
           <div class="ipt">
               <input type="text" class="login-input user form-control" placeholder="请输入您的用户名" ng-model="LoginInfo.DPhone">
               <input type="text" class="login-input pwd form-control" placeholder="请输入您的密码" ng-model="LoginInfo.DPassword">
               <p><input type="checkbox" class="chk"/> <span style="font-size: 14px;vertical-align:middle;margin-right: 20px;">记住账号</span> <input type="checkbox" class="chk"/> <span style="font-size: 14px;vertical-align: middle;">记住密码</span></p>
           <button class="loginBtn" ng-click="otherHtml()">登录</button>
               <p class="text-center"><span class="days">2018-07-31</span> 星期<span class="week">二</span></p>
           </div>
       </form>
   </div>
    <div style="position: absolute;bottom: 18%;right:0;left:0;width: 380px;margin: auto;">
        <img src="img/logo/company.png" alt=""/></div>
</div>
<script>
    //时间更新
    var days = document.getElementsByClassName("days")[0];
    var w = ["日","一","二","三","四","五","六"];
    var weeks = document.getElementsByClassName("week")[0];
    var date = new Date();
    console.log(date);
    var year = date.getUTCFullYear();
    var month = date.getMonth()+1;
    var day = date.getDate();
    var week = date.getDay();
    days.innerHTML = year+"-"+month+"-"+day;
    weeks.innerHTML = w[week];
</script>
